for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the BEAR.Resource package.
*
* @license http://opensource.org/licenses/MIT MIT
*/
namespace BEAR\Resource;
use BEAR\Resource\Exception\ParameterException;
use Ray\Di\InjectorInterface;
final class NoDefaultParam implements ParamInterface
{
* {@inheritdoc}
public function __invoke($varName, array $query, InjectorInterface $injector)
unset($query, $injector);
throw new ParameterException($varName);
}