Mega Code Archive
Categories
/
Php
/
Design Patterns
The Singleton Pattern
props[$key] = $val; } public function getProperty( $key ) { return $this->props[$key]; } } ?>