src/Brightmarch/RestEasy/Controller/Controller.php
public function resourceRequires()
    {
        $this->requiredTypes = array_merge(func_get_args(), $this->requiredTypes);
        $this->canServerSupportThisRequest();

        return $this;
    }
public function resourceRequires()
    {
        $this->requiredTypes = array_merge(func_get_args(), $this->requiredTypes);
        $this->canServerSupportThisRequest();

        return $this;
    }
public function resourceRequires ( ) { $ this -> requiredTypes = array_merge ( func_get_args ( ) , $ this -> requiredTypes ) ; $ this -> canServerSupportThisRequest ( ) ; return $ this ; }
Set a list of content types this resource requires.

@param [string, string, ...]
@return Controller
Set a list of content types this resource requires .