for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Bouncer package.
*
* (c) François Hodierne <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Bouncer\Profile;
use Bouncer\Bouncer;
class TestProfile extends DefaultProfile
{
public function load(Bouncer $instance)
parent::load($instance);
$exit = function() { error_log('Test profile. Not exiting.'); };
$instance->setOptions(array('exit' => $exit));
}