function matches($names)
    {
        //Check every argument supplied
        foreach (func_get_args() as $name)
        {
            //Check for any possible match
            if (
                0 === strcasecmp($name, $this->name) ||
                0 === strcasecmp($name, $this->property->getName()) ||
                0 === strcasecmp($name, Reflection::normalizeProperty($this->property->getName()))
            )
            {
                return true;
            }
        }

        return false;
    }
function matches($names)
    {
        //Check every argument supplied
        foreach (func_get_args() as $name)
        {
            //Check for any possible match
            if (
                0 === strcasecmp($name, $this->name) ||
                0 === strcasecmp($name, $this->property->getName()) ||
                0 === strcasecmp($name, Reflection::normalizeProperty($this->property->getName()))
            )
            {
                return true;
            }
        }

        return false;
    }
function matches ( $ names ) { //Check every argument supplied foreach ( func_get_args ( ) as $ name ) { //Check for any possible match if ( 0 === strcasecmp ( $ name , $ this -> name ) || 0 === strcasecmp ( $ name , $ this -> property -> getName ( ) ) || 0 === strcasecmp ( $ name , Reflection :: normalizeProperty ( $ this -> property -> getName ( ) ) ) ) { return true ; } } return false ; }
Checks if a supplied name matches this property's name.

@param mixed $names List of names to check.
@return bool
Checks if a supplied name matches this property s name .