public function __construct() { parent::__construct([]); if ($this->modelName == '') { $this->modelName = $this->table; } if ($this->modelName == '') { $this->collectionName = Inflect::pluralize($this->modelName); } }
/** * @inheritdoc */ public function getResourceType() { return \upendo\utils\Inflect::pluralize(self::$controller->getId()); }