private function getResources()
    {

        $resources = [];
        foreach( $this->getClassAnnotations() as $annotation ) {

            // is this a resource
            if( 0 === strpos($annotation, "resource") ) {
                $resources[] = explode(' ', $annotation)[1];
            }

        }

        return $resources;

    }
private function getResources()
    {

        $resources = [];
        foreach( $this->getClassAnnotations() as $annotation ) {

            // is this a resource
            if( 0 === strpos($annotation, "resource") ) {
                $resources[] = explode(' ', $annotation)[1];
            }

        }

        return $resources;

    }
private function getResources ( ) { $ resources = [ ] ; foreach ( $ this -> getClassAnnotations ( ) as $ annotation ) { // is this a resource if ( 0 === strpos ( $ annotation , "resource" ) ) { $ resources [ ] = explode ( ' ' , $ annotation ) [ 1 ] ; } } return $ resources ; }
list of files to load as configuration.
should be set to empty list if none needed
list of files to load as configuration . should be set to empty list if none needed