Lines Matching refs:call
82 * @param mixed $call First callable part.
85 public function __construct($call, $able = '') argument
87 if ($call instanceof \Closure) {
88 $this->_callback = $call;
101 if (is_string($call)) {
102 if (false === strpos($call, '::')) {
103 if (!function_exists($call)) {
107 $call
111 $this->_callback = $call;
116 list($call, $able) = explode('::', $call);
117 } elseif (is_object($call)) {
118 if ($call instanceof Stream\IStream\Out) {
120 } elseif (method_exists($call, '__invoke')) {
129 } elseif (is_array($call) && isset($call[0])) {
130 if (!isset($call[1])) {
131 return $this->__construct($call[0]);
134 return $this->__construct($call[0], $call[1]);
143 $this->_callback = [$call, $able];