for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Chrisyue\PhpM3u8\M3u8\Transformer;
use Chrisyue\PhpM3u8\M3u8\OptionsTrait;
/**
* @Annotation
*/
class AttributeList extends AbstractAttributeList
{
use OptionsTrait;
private $transformers;
protected function getTransformers()
if (null === $this->transformers) {
$this->transformers = $this->options['reader']->read($this->options['class'], AttributeValueTransformerInterface::class);
}
return $this->transformers;
protected function initResult()
return new $this->options['class'];