Command\RoutesCommand::_printExceptIfExists PHP Method

_printExceptIfExists() private method

private _printExceptIfExists ( RouteRule $rule, $table )
$rule Ouzo\Routing\RouteRule
    private function _printExceptIfExists(RouteRule $rule, $table)
    {
        $except = $rule->getExcept();
        if ($except) {
            $table->addRow(array('', '', '  <info>except:</info>', ''));
            Arrays::map($except, function ($except) use($table) {
                $table->addRow(array('', '', '    ' . $except, ''));
                return $except;
            });
        }
    }