public function writeCriteria($arguments, $options)
{
// Set criteria.
$criteria = $arguments['criteria'];
// Set model.
$model = $options['model'];
// Create the criteria.
if ($this->creator->create($criteria, $model)) {
// Information message.
$this->info("Succesfully created the criteria class.");
}
}