public function getConditionByType(string $repositoryType) : Collection
    {
        return $this->conditions->filter(function (RepositoryCondition $condition) use ($repositoryType) {
            return $condition instanceof $repositoryType;
        });
    }
public function getConditionByType(string $repositoryType) : Collection
    {
        return $this->conditions->filter(function (RepositoryCondition $condition) use ($repositoryType) {
            return $condition instanceof $repositoryType;
        });
    }
public function getConditionByType ( string $ repositoryType ) : Collection { return $ this -> conditions -> filter ( function ( RepositoryCondition $ condition ) use ( $ repositoryType ) { return $ condition instanceof $ repositoryType ; } ) ; }
returns condition by type

@param string $repositoryType
@return Collection
returns condition by type