PHP Class Lisphp_Runtime_Function

Inheritance: implements Lisphp_Applicable
Show file Open project: lisphp/lisphp Class Usage Examples

Public Properties

Property Type Description
$body
$parameters
$scope

Public Methods

Method Description
__construct ( Lisphp_Scope $scope, Lisphp_List $parameters, Lisphp_Form $body )
__invoke ( )
apply ( Lisphp_Scope $scope, Lisphp_List $arguments )
call ( $func, array $args )

Protected Methods

Method Description
execute ( array $arguments )

Method Details

__construct() public method

public __construct ( Lisphp_Scope $scope, Lisphp_List $parameters, Lisphp_Form $body )
$scope Lisphp_Scope
$parameters Lisphp_List
$body Lisphp_Form

__invoke() public method

public __invoke ( )

apply() final public method

final public apply ( Lisphp_Scope $scope, Lisphp_List $arguments )
$scope Lisphp_Scope
$arguments Lisphp_List

call() public static method

public static call ( $func, array $args )
$args array

execute() protected method

protected execute ( array $arguments )
$arguments array

Property Details

$body public property

public $body

$parameters public property

public $parameters

$scope public property

public $scope