public function matchesAction($action)
    {
        $action = (array) $action;
        return $this->action === 'manage' || in_array($this->action, $action);
    }
public function matchesAction($action)
    {
        $action = (array) $action;
        return $this->action === 'manage' || in_array($this->action, $action);
    }
public function matchesAction ( $ action ) { $ action = ( array ) $ action ; return $ this -> action === 'manage' || in_array ( $ this -> action , $ action ) ; }
Determine if the instance's action matches the one passed in

@param string|array $action Action in question
@return boolean
Determine if the instance s action matches the one passed in