public function isInstantiable()
{
return $this->isInstantiable;
}
private function assertClassIsInstantiable(ObjectDefinition $definition) { if (!$definition->isInstantiable()) { throw DefinitionException::create($definition, sprintf('Entry "%s" cannot be resolved: the class is not instantiable', $definition->getName())); } }