public static function createNewScope(
        int $id,
        string $name,
        string $description = null,
        bool $isDefault = false
    ): Scope {
        $scope = new static();

        $scope->id = $id;
        $scope->name = $name;
        $scope->description = $description;
        $scope->isDefault = $isDefault;

        return $scope;
    }
public static function createNewScope(
        int $id,
        string $name,
        string $description = null,
        bool $isDefault = false
    ): Scope {
        $scope = new static();

        $scope->id = $id;
        $scope->name = $name;
        $scope->description = $description;
        $scope->isDefault = $isDefault;

        return $scope;
    }
public static function createNewScope ( int $ id , string $ name , string $ description = null , bool $ isDefault = false ) : Scope { $ scope = new static ( ) ; $ scope -> id = $ id ; $ scope -> name = $ name ; $ scope -> description = $ description ; $ scope -> isDefault = $ isDefault ; return $ scope ; }
Create a new Scope
Create a new Scope