for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Smart\EtlBundle\Extractor;
use Symfony\Component\Yaml\Yaml;
/**
* Nicolas Bastien <[email protected]>
*/
class YamlEntityExtractor extends AbstractFolderExtrator implements ExtractorInterface
{
use EntityExtractorTrait;
* @inheritDoc
protected function getFileExtension()
return 'yml';
}
protected function extractFileContent($filepath)
return Yaml::parse(file_get_contents($filepath));