transform() public method

Wrap all includes into rewrite filter
public transform ( StreamMetaData $metadata ) : void | boolean
$metadata StreamMetaData Metadata for source
return void | boolean Return false if transformation should be stopped
 public function testCanTransformWithBraces()
 {
     $this->metadata->source = file_get_contents(__DIR__ . '/_files/yii_style.php');
     self::$transformer->transform($this->metadata);
     $this->assertEquals(file_get_contents(__DIR__ . '/_files/yii_style_output.php'), $this->metadata->source);
 }