public function setAlias(Alias $alias)
 {
     $this->parameters['aliasOperation'] = $alias->getAliasOperation();
     $this->parameters['aliasusage'] = $alias->getAliasUsage();
     $this->parameters['alias'] = $alias->getAlias();
 }
Ejemplo n.º 2
0
 /** @test */
 public function AliasCanHaveOperationByPsp()
 {
     $alias = new Alias('alias123', Alias::OPERATION_BY_PSP);
     $this->assertEquals(Alias::OPERATION_BY_PSP, $alias->getAliasOperation());
 }