Last active
December 20, 2015 16:59
-
-
Save cognifloyd/6165529 to your computer and use it in GitHub Desktop.
The first code snippet that I want to get working in my GSoC project.
This file contains 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
<?php | |
$derivative = new Derivative( 'Cognifire.SweetSitePackage' ); | |
$derivative->file('Resources/Private/TextTypo3.txt')->cloneFromBoilerplate('Cognifire.EmptyBoilerplate'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It could also be
OR
Which would mean that cloneFromBoilerplate is a shortcut that runs clone() at the end.