PHP Trait Bluz\Common\Helper

Show file Open project: bluzphp/framework

Protected Properties

Property Type Description
$helpers list of helpers
$helpersPath list of helpers paths

Public Methods

Method Description
__call ( string $method, array $args ) : mixed Call magic helper
addHelperPath ( string $path ) : self Add helper path
resetHelpersPath ( ) : self Reset helpers path
setHelpersPath ( string | array $helpersPath ) : self Set helpers path

Method Details

__call() public method

Call magic helper
public __call ( string $method, array $args ) : mixed
$method string
$args array
return mixed

addHelperPath() public method

Add helper path
public addHelperPath ( string $path ) : self
$path string
return self

resetHelpersPath() public method

Reset helpers path
public resetHelpersPath ( ) : self
return self

setHelpersPath() public method

Set helpers path
public setHelpersPath ( string | array $helpersPath ) : self
$helpersPath string | array
return self

Property Details

$helpers protected property

list of helpers
protected $helpers

$helpersPath protected property

list of helpers paths
protected $helpersPath