public function package(string $package, ?string $namespace = null) : void {
        if (is_null($namespace)) {
            list($vendor, $namespace) = explode('/', $package);
        }

        $this->finder->addNamespace($namespace, $package);
    }
public function package(string $package, ?string $namespace = null) : void {
        if (is_null($namespace)) {
            list($vendor, $namespace) = explode('/', $package);
        }

        $this->finder->addNamespace($namespace, $package);
    }
public function package ( string $ package , ? string $ namespace = null ) : void { if ( is_null ( $ namespace ) ) { list ( $ vendor , $ namespace ) = explode ( '/' , $ package ) ; } $ this -> finder -> addNamespace ( $ namespace , $ package ) ; }
Register a package with the environment.
Register a package with the environment .