public static function getDefault()
    {
        /** @var $factory Factory */
        $factory    = new static();
        $factory->addFactory(new CommitFactory(), 100)
                ->addFactory(new HeadFileFactory(), 80)
                ->addFactory(new DefaultFactory(), -100);
        return $factory;
    }
public static function getDefault()
    {
        /** @var $factory Factory */
        $factory    = new static();
        $factory->addFactory(new CommitFactory(), 100)
                ->addFactory(new HeadFileFactory(), 80)
                ->addFactory(new DefaultFactory(), -100);
        return $factory;
    }
public static function getDefault ( ) { /** @var $factory Factory */ $ factory = new static ( ) ; $ factory -> addFactory ( new CommitFactory ( ) , 100 ) -> addFactory ( new HeadFileFactory ( ) , 80 ) -> addFactory ( new DefaultFactory ( ) , - 100 ) ; return $ factory ; }
Returns a default factory

includes:
- CommitFactory
- HeadFileFactory
- DefaultFactory

@return  Factory
Returns a default factory