getOutput()->writeln(sprintf('DOMAIN: %s', $domain->getName()));
$this->getOutput()->writeln(sprintf('ID : %d', $domain->getId()));
$this->getOutput()->writeln(sprintf('TYPE : %s', $domain->getType()));
$this->getOutput()->writeln(sprintf('MASTER: %s', $domain->getMaster()));
}
public function showShortDomain(Domain $domain, $key = 0)
{
$this->getOutput()->writeln(sprintf('%s', $domain->getName()));
}
public static function getName()
{
return 'domain';
}
}