/** * Gets the array of implements for this mixin * @var array */ protected static function _getImplements() { return array_merge_recursive(parent::_getImplements(), array('Nimbles\\Core\\Delegates\\Delegatable' => array('delegates' => array('write' => function ($body) { file_put_contents('php://stdout', $body); })))); }
/** * Gets the array of implements for this mixin * @var array */ protected static function _getImplements() { return array_merge_recursive(parent::_getImplements(), array('Nimbles\\Core\\Delegates\\Delegatable' => array('delegates' => array('headers_sent' => 'headers_sent', 'header' => 'header', 'write' => function ($body) { echo $body; })))); }