SproutCMS

This is the code documentation for the SproutCMS project

function expandNs()

For a given function, expand the namespace for Sprout helpers

Usage

callable $Validator->expandNs ( callable|string $func );

Arguments

  1. callable|string $func
    The function to expand with the Sprout\Helpers namespace.
           Strings representing function names are affected; closures are not.

Return value

  • callable
    $func