transform() публичный Метод

This method may transform the supplied source and return a new replacement for it
public transform ( StreamMetaData $metadata ) : boolean
$metadata StreamMetaData Metadata for source
Результат boolean Return false if transformation should be stopped
 /**
  * Testcase for multiple classes (@see https://github.com/lisachenko/go-aop-php/issues/71)
  */
 public function testMultipleClasses()
 {
     $this->metadata->source = $this->loadTest('multiple-classes');
     $this->transformer->transform($this->metadata);
     $actual = $this->normalizeWhitespaces($this->metadata->source);
     $expected = $this->normalizeWhitespaces($this->loadTest('multiple-classes-woven'));
     $this->assertEquals($expected, $actual);
 }