for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is a part of Sculpin.
*
* (c) Dragonfly Development Inc.
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symplify\PHP7_Sculpin\Event;
use Symplify\PHP7_Sculpin\Source\SourceInterface;
use Symplify\PHP7_Sculpin\Source\SourceSet;
use Symfony\Component\EventDispatcher\Event;
final class SourceSetEvent extends Event
{
/**
* @var SourceSet
private $sourceSet;
public function __construct(SourceSet $sourceSet)
$this->sourceSet = $sourceSet;
}
* All sources.
* @return array
public function allSources()
return $this->sourceSet->allSources();
* @return SourceInterface[]
public function updatedSources() : array
return $this->sourceSet->updatedSources();
public function sourceSet() : SourceSet
return $this->sourceSet;