Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Strip whitespace (or other characters) from the beginning of a string
<?php ltrim(string $string, string $characters = " \n\r\t\v\x00"): string
<?php     public static function relativeNamespace(string $fullyQualifiedClassName)

    {

        $namespace = config('blueprint.namespace') . '\\';

        $reference = ltrim($fullyQualifiedClassName, '\\');



        if (Str::startsWith($reference, $namespace)) {

            return Str::after($reference, $namespace);
<?php     {

        $name = Blueprint::relativeNamespace(get_class($model));



        return ltrim(str_replace(config('blueprint.models_namespace'), '', $name), '\\');

    }

}
<?php     public function fixture(string $path)

    {

        return file_get_contents(__DIR__ . '/' . 'fixtures' . '/' . ltrim($path, '/'));

    }



    public function requireFixture(string $path)
<?php     public function requireFixture(string $path)

    {

        require_once __DIR__ . '/' . 'fixtures' . '/' . ltrim($path, '/');

    }



    public function stub(string $path)
<?php     public function stub(string $path)

    {

        return file_get_contents(__DIR__ . '/../' . 'stubs' . '/' . ltrim($path, '/'));

    }



    protected function getPackageProviders($app)