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 | |
/** | |
* Script for flushing bytecode cache | |
* | |
* usage: | |
* php flush_cache.php unix:///var/run/php5-fpm.sock | |
* php flush_cache.php 127.0.0.1 9000 | |
* | |
* Change SECRET bellow before use! |
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 | |
class PropertyExtenderRepo { | |
protected static $instance; | |
public static function getInstance() | |
{ | |
if (self::$instance === null) { | |
self::$instance = new self(); |