Phly\Conduit\Route::__get PHP Method

__get() public method

public __get ( mixed $name ) : mixed
$name mixed
return mixed
    public function __get($name)
    {
        if (!property_exists($this, $name)) {
            throw new OutOfRangeException('Only the path and handler may be accessed from a Route instance');
        }
        return $this->{$name};
    }