public function getArgument($name, $default = null)
    {
        if (!isset($this->arguments[$name])) {
            return $default;
        }

        if (isset($this->caches[$name])) {
            return $this->caches[$name];
        }

        return $this->caches[$name] = $this->container->execute($this->arguments[$name]);
    }
public function getArgument($name, $default = null)
    {
        if (!isset($this->arguments[$name])) {
            return $default;
        }

        if (isset($this->caches[$name])) {
            return $this->caches[$name];
        }

        return $this->caches[$name] = $this->container->execute($this->arguments[$name]);
    }
public function getArgument ( $ name , $ default = null ) { if ( ! isset ( $ this -> arguments [ $ name ] ) ) { return $ default ; } if ( isset ( $ this -> caches [ $ name ] ) ) { return $ this -> caches [ $ name ] ; } return $ this -> caches [ $ name ] = $ this -> container -> execute ( $ this -> arguments [ $ name ] ) ; }
Method to get property Argument

@param  string $name
@param  mixed  $default

@return array
@throws Exception\DependencyResolutionException
@throws \ReflectionException
Method to get property Argument