Alex\BehatLauncher\Behat\FeatureFile::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' => 'file', 'path' => $this->getPath(), 'name' => $this->name);
    }