Пример #1
0
 function matches($names)
 {
     foreach (func_get_args() as $name) {
         if (0 === strcasecmp($name, $this->name) || 0 === strcasecmp($name, $this->property->getName()) || 0 === strcasecmp($name, Reflection::cleanProperty($this->property->getName()))) {
             return true;
         }
     }
     return false;
 }