private function getArtifactPath(Transformation $transformation)
    {
        return $transformation->getArtifact()
            ? $transformation->getTransformer()->getTarget() . DIRECTORY_SEPARATOR . $transformation->getArtifact()
            : null;
    }
private function getArtifactPath(Transformation $transformation)
    {
        return $transformation->getArtifact()
            ? $transformation->getTransformer()->getTarget() . DIRECTORY_SEPARATOR . $transformation->getArtifact()
            : null;
    }
private function getArtifactPath ( Transformation $ transformation ) { return $ transformation -> getArtifact ( ) ? $ transformation -> getTransformer ( ) -> getTarget ( ) . DIRECTORY_SEPARATOR . $ transformation -> getArtifact ( ) : null ; }
Returns the path to the location where the artifact should be written, or null to automatically detect the
location using the router.

@return string|null
Returns the path to the location where the artifact should be written or null to automatically detect the location using the router .