public function addEntityWith(string $name)
    {

        if (strstr($this->entityWith, $name)) {
            // it's already loaded, do nothing
        }

        switch ($this->entityWith) {
            case 'none':
                $this->entityWith = $name;
                break;
            case 'all':
                // do nothing all are loaded anyway
                break;

            default:
                $this->entityWith .= ',' . $name;
                break;
        }


    }