PHP 클래스 Nelmio\Alice\Definition\SpecificationBag

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

공개 메소드들

메소드 설명
__clone ( )
__construct ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null, PropertyBag $properties, MethodCallBag $calls )
getConstructor ( ) : Nelmio\Alice\Definition\MethodCallInterface | null
getMethodCalls ( ) : MethodCallBag
getProperties ( ) : PropertyBag
mergeWith ( self $specs ) : self Creates a new instance to which the given specs have been merged. In case of conflicts, the existing values are kept.
withConstructor ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null ) : self

메소드 상세

__clone() 공개 메소드

public __clone ( )

__construct() 공개 메소드

public __construct ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null, PropertyBag $properties, MethodCallBag $calls )
$constructor Nelmio\Alice\Definition\MethodCallInterface
$properties PropertyBag
$calls MethodCallBag

getConstructor() 공개 메소드

public getConstructor ( ) : Nelmio\Alice\Definition\MethodCallInterface | null
리턴 Nelmio\Alice\Definition\MethodCallInterface | null

getMethodCalls() 공개 메소드

public getMethodCalls ( ) : MethodCallBag
리턴 MethodCallBag

getProperties() 공개 메소드

public getProperties ( ) : PropertyBag
리턴 PropertyBag

mergeWith() 공개 메소드

Creates a new instance to which the given specs have been merged. In case of conflicts, the existing values are kept.
public mergeWith ( self $specs ) : self
$specs self
리턴 self

withConstructor() 공개 메소드

public withConstructor ( Nelmio\Alice\Definition\MethodCallInterface $constructor = null ) : self
$constructor Nelmio\Alice\Definition\MethodCallInterface
리턴 self