FeaturePhp/Generator/AspectGenerator.php
protected function processFileSpecification($artifact, $fileSpecification) {
        $this->aspectKernel->addAspect(new fphp\Aspect\Aspect($artifact, $fileSpecification));
        $this->tracingLinks[] = new fphp\Artifact\TracingLink(
            "aspect", $artifact, $fileSpecification->getSourcePlace(), $fileSpecification->getTargetPlace());
        $this->logFile->log($artifact, "added aspect at \"{$fileSpecification->getTarget()}\"");
    }
protected function processFileSpecification($artifact, $fileSpecification) {
        $this->aspectKernel->addAspect(new fphp\Aspect\Aspect($artifact, $fileSpecification));
        $this->tracingLinks[] = new fphp\Artifact\TracingLink(
            "aspect", $artifact, $fileSpecification->getSourcePlace(), $fileSpecification->getTargetPlace());
        $this->logFile->log($artifact, "added aspect at \"{$fileSpecification->getTarget()}\"");
    }
protected function processFileSpecification ( $ artifact , $ fileSpecification ) { $ this -> aspectKernel -> addAspect ( new fphp \ Aspect \ Aspect ( $ artifact , $ fileSpecification ) ) ; $ this -> tracingLinks [ ] = new fphp \ Artifact \ TracingLink ( "aspect" , $ artifact , $ fileSpecification -> getSourcePlace ( ) , $ fileSpecification -> getTargetPlace ( ) ) ; $ this -> logFile -> log ( $ artifact , "added aspect at \"{$fileSpecification->getTarget()}\"" ) ; }
Adds an aspect from a file to the aspect kernel.
@param \FeaturePhp\Artifact\Artifact $artifact
@param \FeaturePhp\Specification\FileSpecification $fileSpecification
Adds an aspect from a file to the aspect kernel .