public function getLayoutPath()
    {
        $ref = new \ReflectionClass($this);
        return dirname(dirname($ref->getFileName())) . '/views/layouts/' . $this->layout . '.php';
    }
public function getLayoutPath()
    {
        $ref = new \ReflectionClass($this);
        return dirname(dirname($ref->getFileName())) . '/views/layouts/' . $this->layout . '.php';
    }
public function getLayoutPath ( ) { $ ref = new \ ReflectionClass ( $ this ) ; return dirname ( dirname ( $ ref -> getFileName ( ) ) ) . '/views/layouts/' . $ this -> layout . '.php' ; }
get layouts path
@return string
@throws \ReflectionException
get layouts path