public function CustomArrayObject::count in Plug 7
Overrides Countable::count
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Fixtures/ CustomArrayObject.php, line 56
Class
- CustomArrayObject
- This class is a hand written simplified version of PHP native `ArrayObject` class, to show that it behaves differently than the PHP native implementation.
Namespace
Symfony\Component\Validator\Tests\FixturesCode
public function count() {
return count($this->array);
}