protected function initializable()
    {
        if (!$this->getParamAdapter()) {
            throw new Exception\LogicException('Param Adapter is required');
        }

        if (!$this->getSource()) {
            throw new Exception\LogicException('Source data is required');
        }

        $this->init = true;

        if (count($this->headers)) {
            $this->setHeaders($this->headers);
        }

        $this->init();

        $this->initFilters($this->getSource()->getSource());
    }
protected function initializable()
    {
        if (!$this->getParamAdapter()) {
            throw new Exception\LogicException('Param Adapter is required');
        }

        if (!$this->getSource()) {
            throw new Exception\LogicException('Source data is required');
        }

        $this->init = true;

        if (count($this->headers)) {
            $this->setHeaders($this->headers);
        }

        $this->init();

        $this->initFilters($this->getSource()->getSource());
    }
protected function initializable ( ) { if ( ! $ this -> getParamAdapter ( ) ) { throw new Exception \ LogicException ( 'Param Adapter is required' ) ; } if ( ! $ this -> getSource ( ) ) { throw new Exception \ LogicException ( 'Source data is required' ) ; } $ this -> init = true ; if ( count ( $ this -> headers ) ) { $ this -> setHeaders ( $ this -> headers ) ; } $ this -> init ( ) ; $ this -> initFilters ( $ this -> getSource ( ) -> getSource ( ) ) ; }
Init configuration like setting header, decorators, filters and others

(call in render method as well)
Init configuration like setting header decorators filters and others