protected function loadInits(PackageInterface $package)
    {
        if (!$package->getInits()) {
            return $this;
        }

        $initLoader = \Parable\DI\Container::create(\Parable\Framework\Loader\InitLoader::class);
        $initLoader->load($package->getInits());
        return $this;
    }
protected function loadInits(PackageInterface $package)
    {
        if (!$package->getInits()) {
            return $this;
        }

        $initLoader = \Parable\DI\Container::create(\Parable\Framework\Loader\InitLoader::class);
        $initLoader->load($package->getInits());
        return $this;
    }
protected function loadInits ( PackageInterface $ package ) { if ( ! $ package -> getInits ( ) ) { return $ this ; } $ initLoader = \ Parable \ DI \ Container :: create ( \ Parable \ Framework \ Loader \ InitLoader :: class ) ; $ initLoader -> load ( $ package -> getInits ( ) ) ; return $ this ; }
Load all Inits from package.

@param PackageInterface $package

@return $this
@throws \Parable\DI\Exception
Load all Inits from package .