for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Zenstruck\ScheduleBundle\Schedule;
/**
* @author Kevin Bond <[email protected]>
*/
trait HasExtensions
{
/** @var Extension[] */
private $extensions = [];
final public function addExtension(Extension $extension): self
$this->extensions[] = $extension;
return $this;
}
* @return Extension[]
final public function getExtensions(): array
return $this->extensions;