-
-
Save umpirsky/858219 to your computer and use it in GitHub Desktop.
Facrory
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 | |
class F { | |
private function __construct() { } | |
public static function factory() { | |
// Make instance and return | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment