コード例 #1
0
 /**
  * @param FunctionDeprecation $deprecation
  */
 public function addFunctionDeprecation(FunctionDeprecation $deprecation)
 {
     $this->functionDeprecations[$deprecation->name()] = $deprecation;
 }
コード例 #2
0
 public function testGetInterfaceName()
 {
     $functionDeprecation = new FunctionDeprecation('functionName', 'comment');
     $this->assertSame('functionName', $functionDeprecation->name());
 }