src/Way/Generators/templates/Data/Controller.php
public function fetch()
    {
        return [
            'name' => $this->getName($this->controllerName),
            'collection' => $this->getCollection(),
            'resource' => $this->getResource(),
            'model' => $this->getModel(),
            'namespace' => $this->getNamespace()
        ];
    }
public function fetch()
    {
        return [
            'name' => $this->getName($this->controllerName),
            'collection' => $this->getCollection(),
            'resource' => $this->getResource(),
            'model' => $this->getModel(),
            'namespace' => $this->getNamespace()
        ];
    }
public function fetch ( ) { return [ 'name' => $ this -> getName ( $ this -> controllerName ) , 'collection' => $ this -> getCollection ( ) , 'resource' => $ this -> getResource ( ) , 'model' => $ this -> getModel ( ) , 'namespace' => $ this -> getNamespace ( ) ] ; }
Fetch the template data for the controller.

@return array
Fetch the template data for the controller .