Initial Upload
This commit is contained in:
25
lib/Event/DependencyFileSizeEvent.php
Normal file
25
lib/Event/DependencyFileSizeEvent.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Xibo\Event;
|
||||
|
||||
class DependencyFileSizeEvent extends Event
|
||||
{
|
||||
public static $NAME = 'dependency.file.size.event';
|
||||
/** @var array */
|
||||
private $results;
|
||||
|
||||
public function __construct($results)
|
||||
{
|
||||
$this->results = $results;
|
||||
}
|
||||
|
||||
public function addResult($result)
|
||||
{
|
||||
$this->results[] = $result;
|
||||
}
|
||||
|
||||
public function getResults()
|
||||
{
|
||||
return $this->results;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user