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\Attribute\AttributeInterface;
use Chrisyue\PhpM3u8\M3u8\OptionsTrait;
/**
* @Annotation
*/
class AttributeList extends AbstractAttributeList
{
use OptionsTrait;
private $m3u8s;
protected function getAttributeM3u8s()
if (null === $this->m3u8s) {
$this->m3u8s = $this->options['reader']->read($this->options['class'], AttributeInterface::class);
}
return $this->m3u8s;
protected function initResult()
return new $this->options['class']();