Last active
August 18, 2016 16:00
-
-
Save heddn/17c7f130feb2c09f2710a9388464ed19 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$this->captureOutlineOnBeforeOutlineEvent($event); | |
if (method_exists($event, 'getSpecificationIterator')) { | |
foreach ($event->getSpecificationIterator() as $iterator) { | |
if ($iterator instanceof FeatureNode && ($file = $iterator->getFile() && !empty($file)){ | |
if (($path_parts = pathinfo($file)) && !empty($path_parts['filename'])) { | |
$formatter->fileName = $path_parts['filename']; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment