final public function getActions() {
        $return = array();
        foreach (get_class_methods($this) as $method) {
            if (substr($method, strlen($method) - 6) === 'Action')
                $return[] = substr($method, 0, strlen($method) - 6);
        }
        return $return;
    }
final public function getActions() {
        $return = array();
        foreach (get_class_methods($this) as $method) {
            if (substr($method, strlen($method) - 6) === 'Action')
                $return[] = substr($method, 0, strlen($method) - 6);
        }
        return $return;
    }
final public function getActions ( ) { $ return = array ( ) ; foreach ( get_class_methods ( $ this ) as $ method ) { if ( substr ( $ method , strlen ( $ method ) - 6 ) === 'Action' ) $ return [ ] = substr ( $ method , 0 , strlen ( $ method ) - 6 ) ; } return $ return ; }
Fetches all actions in the controller
@return array
Fetches all actions in the controller