private function getWhereClause(): array
    {
        $result = array_merge($this->getOwnerFields(), $this->getBelongTo(), $this->getPermissions());
        $result = array_merge($result, $this->getParentPermissions(), $this->getParentJoinsWhereClause());
        $result = array_merge_recursive($result, $this->getSupervisorWhereClause());

        return $result;
    }
private function getWhereClause(): array
    {
        $result = array_merge($this->getOwnerFields(), $this->getBelongTo(), $this->getPermissions());
        $result = array_merge($result, $this->getParentPermissions(), $this->getParentJoinsWhereClause());
        $result = array_merge_recursive($result, $this->getSupervisorWhereClause());

        return $result;
    }
private function getWhereClause ( ) : array { $ result = array_merge ( $ this -> getOwnerFields ( ) , $ this -> getBelongTo ( ) , $ this -> getPermissions ( ) ) ; $ result = array_merge ( $ result , $ this -> getParentPermissions ( ) , $ this -> getParentJoinsWhereClause ( ) ) ; $ result = array_merge_recursive ( $ result , $ this -> getSupervisorWhereClause ( ) ) ; return $ result ; }
Generates conditions for where clause.

@return mixed[]
Generates conditions for where clause .