public function create($criteria, $model) { // Set the criteria. $this->setCriteria($criteria); // Set the model. $this->setModel($model); // Create the folder directory. $this->createDirectory(); // Return result. return $this->createClass(); }