Capsule::get PHP 메소드

get() 공개 메소드

Gets value of specified var or NULL if var has not been put().
public get ( string $name ) : mixed
$name string Variable name to retrieve.
리턴 mixed
    function get($name)
    {
        if (!isset($this->vars[$name])) {
            return null;
        }
        return $this->vars[$name];
    }