src/Api/Target/InstallTarget.php
public function match(Expression $expr)
    {
        return $expr->evaluate(array(
            self::NAME => $this->name,
            self::INSTALLER_NAME => $this->installerName,
            self::LOCATION => $this->location,
            self::URL_FORMAT => $this->urlFormat,
            self::PARAMETER_VALUES => $this->parameterValues,
        ));
    }
public function match(Expression $expr)
    {
        return $expr->evaluate(array(
            self::NAME => $this->name,
            self::INSTALLER_NAME => $this->installerName,
            self::LOCATION => $this->location,
            self::URL_FORMAT => $this->urlFormat,
            self::PARAMETER_VALUES => $this->parameterValues,
        ));
    }
public function match ( Expression $ expr ) { return $ expr -> evaluate ( array ( self :: NAME => $ this -> name , self :: INSTALLER_NAME => $ this -> installerName , self :: LOCATION => $ this -> location , self :: URL_FORMAT => $ this -> urlFormat , self :: PARAMETER_VALUES => $ this -> parameterValues , ) ) ; }
Returns whether the target matches the given expression.

@param Expression $expr The search criteria. You can use the fields
{@link NAME}, {@link CLASS_NAME},
{@link LOCATION}, {@link URL_FORMAT} and
{@link PARAMETER_VALUES} in the expression.

@return bool Returns `true` if the target matches the expression and
`false` otherwise.
Returns whether the target matches the given expression .