/**
  * Get Values by the Query String with the option of
  * Remove some of them
  *
  * @param array $valuesToRemove
  * @return array Values to Get
  */
 private function getValues(array $valuesToRemove = array())
 {
     $values = array();
     foreach (array_diff_key($this->query->all(), $valuesToRemove) as $property => $value) {
         $values[$this->resource->getProperties()->get($property)->getInternalName()] = $value;
     }
     return $values;
 }
 /**
  * Add a RAISE Model in the Factory Data
  *
  * Necessary the parameter must be an object.
  * And normally the Factory will in the constructor
  * add the items.
  *
  * @note The objects need be a RAISE Model
  *
  * @param ResourceInterface $item
  * @return void
  */
 public function add($item)
 {
     if (!array_key_exists($item->getFriendlyName(), $this->resourceItems)) {
         $this->resourceItems[$item->getFriendlyName()] = $item;
     }
 }