public function load(ServiceContainer $container, array $params)
    {
        $container->define(
            'ecomdev.matcher.file',
            function () {
                return $this->createFileMatcher();
            },
            ['matchers']
        );

        $container->define(
            'ecomdev.matcher.file_content',
            function () {
                return $this->createFileContentMatcher();
            },
            ['matchers']
        );

        $container->define(
            'ecomdev.matcher.directory',
            function () {
                return $this->createDirectoryMatcher();
            },
            ['matchers']
        );
    }
public function load(ServiceContainer $container, array $params)
    {
        $container->define(
            'ecomdev.matcher.file',
            function () {
                return $this->createFileMatcher();
            },
            ['matchers']
        );

        $container->define(
            'ecomdev.matcher.file_content',
            function () {
                return $this->createFileContentMatcher();
            },
            ['matchers']
        );

        $container->define(
            'ecomdev.matcher.directory',
            function () {
                return $this->createDirectoryMatcher();
            },
            ['matchers']
        );
    }
public function load ( ServiceContainer $ container , array $ params ) { $ container -> define ( 'ecomdev.matcher.file' , function ( ) { return $ this -> createFileMatcher ( ) ; } , [ 'matchers' ] ) ; $ container -> define ( 'ecomdev.matcher.file_content' , function ( ) { return $ this -> createFileContentMatcher ( ) ; } , [ 'matchers' ] ) ; $ container -> define ( 'ecomdev.matcher.directory' , function ( ) { return $ this -> createDirectoryMatcher ( ) ; } , [ 'matchers' ] ) ; }
Loads matchers into PHPSpec service container

@param ServiceContainer $container
@param array $params
Loads matchers into PHPSpec service container