Пример #1
0
 /**
  * Retrieves values by an array field or object property
  * @return array
  */
 public function execute()
 {
     $args = $this->getArguments();
     $field = null;
     if (count($args) === 1) {
         $field = $args[0];
     }
     if (is_string($field)) {
         return $this->computeRelatedFields($field);
     }
     return parent::execute();
 }