src/Brightmarch/RestEasy/Controller/Controller.php
public function resourceSupports()
    {
        $this->supportedTypes = array_merge(func_get_args(), $this->supportedTypes);
        $this->canClientAcceptThisResponse();

        return $this;
    }
public function resourceSupports()
    {
        $this->supportedTypes = array_merge(func_get_args(), $this->supportedTypes);
        $this->canClientAcceptThisResponse();

        return $this;
    }
public function resourceSupports ( ) { $ this -> supportedTypes = array_merge ( func_get_args ( ) , $ this -> supportedTypes ) ; $ this -> canClientAcceptThisResponse ( ) ; return $ this ; }
Set a list of content types that this resource supports.

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