public function CustomArrayObject::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/validator/Tests/Fixtures/CustomArrayObject.php \Symfony\Component\Validator\Tests\Fixtures\CustomArrayObject::__construct()
Overrides Countable::__construct
File
- vendor/
symfony/ validator/ Tests/ Fixtures/ CustomArrayObject.php, line 22
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 __construct(array $array = null) {
$this->array = $array ?: array();
}