protected function getClass()
    {
        // Retrieve path to Resources and shortname's class
        $class = new \ReflectionClass(get_class($this));

        // Return a simple array
        return [
            'name'      => $class->getShortName(),
            'path'      => $class->getFileName(),
            'resources' => dirname(dirname($class->getFileName())).S.'Resources',
        ];
    }
protected function getClass()
    {
        // Retrieve path to Resources and shortname's class
        $class = new \ReflectionClass(get_class($this));

        // Return a simple array
        return [
            'name'      => $class->getShortName(),
            'path'      => $class->getFileName(),
            'resources' => dirname(dirname($class->getFileName())).S.'Resources',
        ];
    }
protected function getClass ( ) { // Retrieve path to Resources and shortname's class $ class = new \ ReflectionClass ( get_class ( $ this ) ) ; // Return a simple array return [ 'name' => $ class -> getShortName ( ) , 'path' => $ class -> getFileName ( ) , 'resources' => dirname ( dirname ( $ class -> getFileName ( ) ) ) . S . 'Resources' , ] ; }
Retrieve class details.
Retrieve class details .