PHP 클래스 Kahlan\Plugin\Pointcut

파일 보기 프로젝트 열기: crysalead/kahlan 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_classes array Class dependencies.

공개 메소드들

메소드 설명
before ( $method, $self, &$args ) : boolean Point cut called before method execution.

보호된 메소드들

메소드 설명
_stubbedMethod ( string $lsb, object | string $self, string $class, string $name, string $args ) : boolean Checks if the called method has been stubbed.

메소드 상세

_stubbedMethod() 보호된 정적인 메소드

Checks if the called method has been stubbed.
protected static _stubbedMethod ( string $lsb, object | string $self, string $class, string $name, string $args ) : boolean
$lsb string Late state binding class name.
$self object | string The object instance or a fully-namespaces class name.
$class string The class name.
$name string The method name.
$args string The passed arguments.
리턴 boolean Returns `true` if the method has been stubbed.

before() 공개 정적인 메소드

Point cut called before method execution.
public static before ( $method, $self, &$args ) : boolean
리턴 boolean If `true` is returned, the normal execution of the method is aborted.

프로퍼티 상세

$_classes 보호되어 있는 정적으로 프로퍼티

Class dependencies.
protected static array $_classes
리턴 array