Alex\BehatLauncher\Behat\FeatureDirectory::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('type' => 'directory', 'path' => $this->getPath(), 'name' => $this->name, 'entries' => $normalizer->normalize($this->entries));
    }