Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • Comparator
  • DateComparator
  • NumberComparator
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class Comparator

Comparator.

Direct known subclasses

Symfony\Component\Finder\Comparator\DateComparator, Symfony\Component\Finder\Comparator\NumberComparator
Namespace: Symfony\Component\Finder\Comparator
Author: Fabien Potencier <fabien@symfony.com>
Located at finder/Symfony/Component/Finder/Comparator/Comparator.php
Methods summary
public string
# getTarget( )

Gets the target value.

Gets the target value.

Returns

string
The target value
public
# setTarget( string $target )

Sets the target value.

Sets the target value.

Parameters

$target
string
$target The target value
public string
# getOperator( )

Gets the comparison operator.

Gets the comparison operator.

Returns

string
The operator
public
# setOperator( string $operator )

Sets the comparison operator.

Sets the comparison operator.

Parameters

$operator
string
$operator A valid operator

Throws

InvalidArgumentException
public Boolean
# test( mixed $test )

Tests against the target.

Tests against the target.

Parameters

$test
mixed
$test A test value

Returns

Boolean
php-coveralls API documentation generated by ApiGen 2.8.0