for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Anomaly\SettingsModule\Setting;
use Anomaly\SettingsModule\Setting\Contract\SettingInterface;
use Anomaly\Streams\Platform\Entry\EntryCollection;
/**
* Class SettingCollection
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <[email protected]>
* @author Ryan Thompson <[email protected]>
*/
class SettingCollection extends EntryCollection
{
* Create a new SettingCollection instance.
* @param array $items
public function __construct($items = [])
/* @var SettingInterface $item */
foreach ($items as $item) {
$this->items[$item->getKey()] = $item;
}