update : 2015.11.03
php.shukuma.com검색:
|
Closure::bind(PHP 5 >= 5.4.0) Closure::bind — Duplicates a closure with a specific bound object and class scope 설명
public static Closure Closure::bind
( Closure
$closure
, object $newthis
[, mixed $newscope
= "static"
] )This method is a static version of Closure::bindTo(). See the documentation of that method for more information. 인수
반환값
Returns a new Closure object 실패 시 변경점
예제Example #1 Closure::bind() example
<?php 위 예제의 출력 예시: 1 2 참고
|