C:\xampp\htdocs\landing\wp-content\plugins\wordpress-seo\src\surfaces\classes-surface.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php

namespace Yoast\WP\SEO\Surfaces;

use 
YoastSEO_Vendor\Symfony\Component\DependencyInjection\ContainerInterface;

/**
 * Class Classes_Surface.
 *
 * Surface for the indexables.
 */
class Classes_Surface {

    
/**
     * Loader constructor.
     *
     * @param ContainerInterface $container The dependency injection container.
     */
    
public function __constructContainerInterface $container ) {
        
$this->container $container;
    }

    
/**
     * Returns the instance of a class. Handy for unhooking things.
     *
     * @param string $class The class to get the instance of.
     *
     * @return mixed The instance of the class.
     */
    
public function get$class ) {
        return 
$this->container->get$class );
    }
}
x

Windows NT KPTV 6.2 build 9200 (Windows Server 2012 Datacenter Edition) i586