Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / validator / Tests / Fixtures / Countable.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Component\Validator\Tests\Fixtures;
13
14 class Countable implements \Countable
15 {
16     private $content;
17
18     public function __construct(array $content)
19     {
20         $this->content = $content;
21     }
22
23     public function count()
24     {
25         return \count($this->content);
26     }
27 }