SimpleBaseBundle.php
public function getCompilerPasses(): array
    {
        $mappingBagProvider = $this->getMappingBagProvider();

        return $mappingBagProvider instanceof MappingBagProvider
            ? array_merge(
                parent::getCompilerPasses(),
                [new MappingCompilerPass($mappingBagProvider)]
            )
            : parent::getCompilerPasses();
    }
public function getCompilerPasses(): array
    {
        $mappingBagProvider = $this->getMappingBagProvider();

        return $mappingBagProvider instanceof MappingBagProvider
            ? array_merge(
                parent::getCompilerPasses(),
                [new MappingCompilerPass($mappingBagProvider)]
            )
            : parent::getCompilerPasses();
    }
public function getCompilerPasses ( ) : array { $ mappingBagProvider = $ this -> getMappingBagProvider ( ) ; return $ mappingBagProvider instanceof MappingBagProvider ? array_merge ( parent :: getCompilerPasses ( ) , [ new MappingCompilerPass ( $ mappingBagProvider ) ] ) : parent :: getCompilerPasses ( ) ; }
Return a CompilerPass instance array.

@return CompilerPassInterface[]
Return a CompilerPass instance array .