You are here

class Countable in Plug 7

Hierarchy

Expanded class hierarchy of Countable

1 file declares its use of Countable
CountValidatorCountableTest.php in lib/Symfony/validator/Symfony/Component/Validator/Tests/Constraints/CountValidatorCountableTest.php

File

lib/Symfony/validator/Symfony/Component/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