Swift_DependencyContainer::asValue PHP Méthode

asValue() public méthode

{@link register()} must be called before this will work.
public asValue ( mixed $value ) : Swift_DependencyContainer
$value mixed
Résultat Swift_DependencyContainer
    public function asValue($value)
    {
        $endPoint =& $this->_getEndPoint();
        $endPoint['lookupType'] = self::TYPE_VALUE;
        $endPoint['value'] = $value;
        return $this;
    }