src/PackageTrait.php
public function package(string $vendor)
    {
        if (!array_key_exists($vendor, $this->packages)) {
            throw Exception::forPackageNotFound($vendor);
        }

        return $this->packages[$vendor];
    }
public function package(string $vendor)
    {
        if (!array_key_exists($vendor, $this->packages)) {
            throw Exception::forPackageNotFound($vendor);
        }

        return $this->packages[$vendor];
    }
public function package ( string $ vendor ) { if ( ! array_key_exists ( $ vendor , $ this -> packages ) ) { throw Exception :: forPackageNotFound ( $ vendor ) ; } return $ this -> packages [ $ vendor ] ; }
Returns a package space

@param *string $vendor The vendor/package name

@return PackageTrait
Returns a package space