com\setasign\SetaFramework\Di
ClosureWithIdentifier Class ClosureWithIdentifier
File: /SetaFramework/src/Di/ClosureWithIdentifier.php
This is a wrapper for a closure. This closure offers an identifier used by the Di\Invoker.
Class hierarchy
Summary
Properties
$closure
private \Closure ClosureWithIdentifier::$closure
$ident
private string ClosureWithIdentifier::$ident
Static Methods
create()
Helper method to build an instance of ClosureWithIdentifier without generating $ident by yourself.
Parameters
- $callable : array
Methods
__construct()
Parameters
- $ident : string
- $closure : \Closure
