You are here

class Countable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/validator/Tests/Fixtures/Countable.php \Symfony\Component\Validator\Tests\Fixtures\Countable

Hierarchy

Expanded class hierarchy of Countable

1 file declares its use of Countable
CountValidatorCountableTest.php in vendor/symfony/validator/Tests/Constraints/CountValidatorCountableTest.php
3 string references to 'Countable'
Framework_ConstraintTest::testConstraintIsInstanceOf in vendor/phpunit/phpunit/tests/Framework/ConstraintTest.php
@covers PHPUnit_Framework_Constraint_IsInstanceOf @covers PHPUnit_Framework_Assert::isInstanceOf @covers PHPUnit_Framework_Constraint::count @covers PHPUnit_Framework_TestFailure::exceptionToString
Framework_MockObject_GeneratorTest::getMockForAbstractClassExpectsInvalidArgumentExceptionDataprovider in vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php
Dataprovider for test "testGetMockForAbstractClassExpectingInvalidArgumentException"
Framework_MockObject_GeneratorTest::testGetMockForAbstractClassDoesNotFailWhenFakingInterfaces in vendor/phpunit/phpunit-mock-objects/tests/GeneratorTest.php
@covers PHPUnit_Framework_MockObject_Generator::getMockForAbstractClass

File

vendor/symfony/validator/Tests/Fixtures/Countable.php, line 14

Namespace

Symfony\Component\Validator\Tests\Fixtures
View source
class Countable implements \Countable {
  private $content;
  public function __construct(array $content) {
    $this->content = $content;
  }
  public function count() {
    return count($this->content);
  }

}

Members