Lavary\Menu\Link::__get PHP 메소드

__get() 공개 메소드

Check for a method of the same name if the attribute doesn't exist.
public __get ( $prop ) : void
리턴 void
    public function __get($prop)
    {
        if (property_exists($this, $prop)) {
            return $this->{$prop};
        }
        return $this->attr($prop);
    }