Extends
lithium\core\Object
Takes the defaults and current options, merges them and returns options which have
the default keys removed and full set of options as the scope.
Parameters
- array $defaults
- array $scope the complete set of options
Returns
array $scope, $optionsSource
protected function _options(array $defaults, array $scope) {
$scope += $defaults;
$options = array_diff_key($scope, $defaults);
return array($scope, $options);
}