public asNewInstanceOf ( string $className ) : Swift_DependencyContainer | ||
$className | string | |
return | Swift_DependencyContainer |
public function asNewInstanceOf($className)
{
$endPoint =& $this->_getEndPoint();
$endPoint['lookupType'] = self::TYPE_INSTANCE;
$endPoint['className'] = $className;
return $this;
}