Example #1
0
 public function __construct(IPage $page, array $config = null, $validate = true)
 {
     $this->page = $page;
     // This needs to be set first because if $validate is 'true',
     // we'll need access to the page's PieCrust application for
     // validating configuration values.
     parent::__construct($config, $validate);
 }