protected function getMethods($options)
	{
		if (isset($options['only']) && count($options['only']) > 0)
		{
			return $options['only'];
		}
		elseif (isset($options['except']) && count($options['except']) > 0)
		{
			return array_diff($this->defaults, $options['except']);
		}

		return $this->defaults;
	}
protected function getMethods($options)
	{
		if (isset($options['only']) && count($options['only']) > 0)
		{
			return $options['only'];
		}
		elseif (isset($options['except']) && count($options['except']) > 0)
		{
			return array_diff($this->defaults, $options['except']);
		}

		return $this->defaults;
	}
protected function getMethods ( $ options ) { if ( isset ( $ options [ 'only' ] ) && count ( $ options [ 'only' ] ) > 0 ) { return $ options [ 'only' ] ; } elseif ( isset ( $ options [ 'except' ] ) && count ( $ options [ 'except' ] ) > 0 ) { return array_diff ( $ this -> defaults , $ options [ 'except' ] ) ; } return $ this -> defaults ; }
Get the applicable methods based on the options.

@param  array  $options
@return array
Get the applicable methods based on the options .