public function getPasses()
    {
        return array_merge(
            array($this->mergePass),
            $this->getBeforeOptimizationPasses(),
            $this->getOptimizationPasses(),
            $this->getBeforeRemovingPasses(),
            $this->getRemovingPasses(),
            $this->getAfterRemovingPasses()
        );
    }
public function getPasses()
    {
        return array_merge(
            array($this->mergePass),
            $this->getBeforeOptimizationPasses(),
            $this->getOptimizationPasses(),
            $this->getBeforeRemovingPasses(),
            $this->getRemovingPasses(),
            $this->getAfterRemovingPasses()
        );
    }
public function getPasses ( ) { return array_merge ( array ( $ this -> mergePass ) , $ this -> getBeforeOptimizationPasses ( ) , $ this -> getOptimizationPasses ( ) , $ this -> getBeforeRemovingPasses ( ) , $ this -> getRemovingPasses ( ) , $ this -> getAfterRemovingPasses ( ) ) ; }
Returns all passes in order to be processed.

@return CompilerPassInterface[]
Returns all passes in order to be processed .