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
| <?php | |
| namespace MyStuff\Imagick; | |
| /** | |
| * Option 1: My Imagick extending the original one with custom methods | |
| */ | |
| class Imagick extends \Imagick | |
| { | |
| public function customMethod($param) |
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
| <?php | |
| $cacheId = 'xyz'; | |
| $cacheDriver = new \Doctrine\Common\Cache\ApcCache(); | |
| if ($cacheDriver->contains($cacheId)) { | |
| return $cacheDriver->fetch($cacheId); | |
| } |
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
| #### OSX etc #### | |
| .DS_Store* | |
| Icon? | |
| Thumbs.db | |
| ehthumbs.db | |
| *.swp | |
| *.out | |
| /nbproject/ | |
| *.lock | |
| *~ |
NewerOlder