Alex\BehatLauncher\Behat\OutputFileList::normalize PHP Method

normalize() public method

public normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] )
$normalizer Symfony\Component\Serializer\Normalizer\NormalizerInterface
$context array
    public function normalize(NormalizerInterface $normalizer, $format = null, array $context = array())
    {
        return array_map(function ($of) {
            return $of->getId();
        }, array_filter($this->files, function ($of) {
            return !$of->isEmpty();
        }));
    }