public function setUp()
    {
        if ($this->resource) {
            $this->stub = 'controller/resource';
        } elseif ($this->scaffold) {
            $this->stub = 'controller/scaffold';
            $this->scaffolder = new ControllerScaffolder($this->getClass(), $this->getPrefix());
        }
    }
public function setUp()
    {
        if ($this->resource) {
            $this->stub = 'controller/resource';
        } elseif ($this->scaffold) {
            $this->stub = 'controller/scaffold';
            $this->scaffolder = new ControllerScaffolder($this->getClass(), $this->getPrefix());
        }
    }
public function setUp ( ) { if ( $ this -> resource ) { $ this -> stub = 'controller/resource' ; } elseif ( $ this -> scaffold ) { $ this -> stub = 'controller/scaffold' ; $ this -> scaffolder = new ControllerScaffolder ( $ this -> getClass ( ) , $ this -> getPrefix ( ) ) ; } }
Configure some data.
Configure some data .