public function setHeaderController($headerController)
    {
        if(! $headerController instanceof Asset\HeaderSetter) {
            throw new ErrorException('Header controller must be an instance of Asset\HeaderSetter.');
        }

        $this->headerController = $headerController;

        return $this;
    }
public function setHeaderController($headerController)
    {
        if(! $headerController instanceof Asset\HeaderSetter) {
            throw new ErrorException('Header controller must be an instance of Asset\HeaderSetter.');
        }

        $this->headerController = $headerController;

        return $this;
    }
public function setHeaderController ( $ headerController ) { if ( ! $ headerController instanceof Asset \ HeaderSetter ) { throw new ErrorException ( 'Header controller must be an instance of Asset\HeaderSetter.' ) ; } $ this -> headerController = $ headerController ; return $ this ; }
Set controller for setting headers.

@param object $headerController

@return self

@throws ErrorException
Set controller for setting headers .