for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Nip\View\Methods;
use Nip\Collections\AbstractCollection;
/**
* Class MethodsCollection
* @package Nip\View\Methods
*/
class MethodsCollection extends AbstractCollection
{
* @param $method
* @param $args
* @return mixed
public function run($method, $args)
$methodClosure = $this->get($method);
return $methodClosure(...$args);
}