| @@ -11,8 +11,15 @@ | ||
| 11 | 11 | */ |
| 12 | 12 | class Classes_Surface { |
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | + * The dependency injection container. | |
| 16 | + * | |
| 17 | + * @var ContainerInterface | |
| 18 | + */ | |
| 19 | + public $container; | |
| 20 | + | |
| 21 | + /** | |
| 15 | 22 | * Loader constructor. |
| 16 | 23 | * |
| 17 | 24 | * @param ContainerInterface $container The dependency injection container. |
| 18 | 25 | */ |
| @@ -22,12 +29,12 @@ | ||
| 22 | 29 | |
| 23 | 30 | /** |
| 24 | 31 | * Returns the instance of a class. Handy for unhooking things. |
| 25 | 32 | * |
| 26 | - * @param string $class The class to get the instance of. | |
| 33 | + * @param string $class_name The class to get the instance of. | |
| 27 | 34 | * |
| 28 | 35 | * @return mixed The instance of the class. |
| 29 | 36 | */ |
| 30 | - public function get( $class ) { | |
| 31 | - return $this->container->get( $class ); | |
| 37 | + public function get( $class_name ) { | |
| 38 | + return $this->container->get( $class_name ); | |
| 32 | 39 | } |
| 33 | 40 | } |