PhpSpec\Loader\Transformer\TypeHintIndex::lookup PHP Méthode

lookup() public méthode

public lookup ( string $class, string $method, string $argument ) : string
$class string
$method string
$argument string
Résultat string
    public function lookup($class, $method, $argument);

Usage Example

 function it_supports_type_hint_index_method_data_retrieval()
 {
     $this->typeHintIndex->lookup(SignatureClass::class, 'type_hint_index_resolved_class', '$parameter')->willReturn(TypeHintClass::class . 'Factory')->shouldBeCalled();
     $this->addGenerator(Generator\Factory::class, Generator\Factory::ENTITY_TYPE)->shouldReturn($this);
     $functionReflection = $this->classReflection->getMethod('type_hint_index_resolved_class');
     $this->validate($functionReflection)->shouldReturn($this);
     $this->shouldCreateFile($this->vfs->url() . '/spec/EcomDev/PHPSpec/MagentoDiAdapter/Fixture/TypeHintClassFactory.php');
 }
All Usage Examples Of PhpSpec\Loader\Transformer\TypeHintIndex::lookup