for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace PHPDaemon\Config\Entry;
use PHPDaemon\Config\Entry\Generic;
/**
* External function config entry
*
* @package Core
* @subpackage Config
* @author Vasily Zorin <[email protected]>
*/
class ExtFunc extends Generic
{
* Converts human-readable value to plain
* @param $value
* @return callable|null
public static function humanToPlain($value)
$cb = include($value);
return is_callable($cb) ? $cb : null;
}