/** * Gets gather name class * @param AbstractModel $model the model for which we generate the folder * @return string */ private function getGather(AbstractModel $model) { return Utils::getPart($this->getOptionGatherMethods(), $model->getCleanName()); }
/** * */ public function testGetEndPartStringEndingWithInt() { $this->assertSame('Operation', Utils::getPart(GeneratorOptions::VALUE_END, 'MyOperation0')); }