PHP Class PhpSpec\Wrapper\Wrapper

Afficher le fichier Open project: phpspec/phpspec Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( MatcherManager $matchers, PhpSpec\Formatter\Presenter\Presenter $presenter, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, PhpSpec\CodeAnalysis\AccessInspector $accessInspector = null )
wrap ( object $value = null ) : Subject

Private Methods

Méthode Description
createCaller ( WrappedObject $wrappedObject ) : Caller

Method Details

__construct() public méthode

public __construct ( MatcherManager $matchers, PhpSpec\Formatter\Presenter\Presenter $presenter, Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, ExampleNode $example, PhpSpec\CodeAnalysis\AccessInspector $accessInspector = null )
$matchers PhpSpec\Runner\MatcherManager
$presenter PhpSpec\Formatter\Presenter\Presenter
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$example PhpSpec\Loader\Node\ExampleNode
$accessInspector PhpSpec\CodeAnalysis\AccessInspector

wrap() public méthode

public wrap ( object $value = null ) : Subject
$value object
Résultat Subject