for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Anomaly\AddonsModule\Addon\Table;
use Anomaly\Streams\Platform\Addon\AddonCollection;
/**
* Class AddonTableEntries
*
* @link http://pyrocms.com/
* @author PyroCMS, Inc. <[email protected]>
* @author Ryan Thompson <[email protected]>
*/
class AddonTableEntries
{
* Handle the command.
* @param AddonTableBuilder $builder
* @param AddonCollection $addons
public function handle(AddonTableBuilder $builder, AddonCollection $addons)
$addons = $addons->{$builder->getType()}();
$builder->setTableEntries($addons);
}