getArguments() public method

public getArguments ( )
Example #1
0
 public function decorate(call $call)
 {
     $string = '';
     $function = $call->getFunction();
     if ($function !== null) {
         $string = $function . '(';
         $arguments = $call->getArguments();
         if ($arguments === null) {
             $string .= '*';
         } else {
             $string .= $this->argumentsDecorator->decorate($call->getArguments());
         }
         $string .= ')';
     }
     return $string;
 }
Example #2
0
 public function testUnsetArguments()
 {
     $this->if($call = new testedClass())->then->object($call->unsetArguments())->isIdenticalTo($call)->variable($call->getArguments())->isNull()->if($call->setArguments(array()))->then->object($call->unsetArguments())->isIdenticalTo($call)->variable($call->getArguments())->isNull();
 }