PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / 28.5
Yoast SEO – Advanced SEO with real-time guidance and built-in AI v28.5
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/surfaces/classes-surface.php +10 -3 18.328.5 View file →
@@ -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 }