for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Chrisyue\PhpM3u8\M3u8\Core;
/**
* @Annotation
* @Target("PROPERTY")
*/
class StreamInf extends Tag
{
public function parse()
$result = parent::parse();
if (null === $result) {
return;
}
$this->getStream()->next();
$lineInfo = $this->getStream()->read();
$result->uri = $lineInfo['value'];
return $result;
public function dump($result)
parent::dump($result);
$this->getStream()->write(['value' => $result->uri]);