/**
  * TextListModel constructor.
  * @param ProjectModel $project
  */
 public function __construct($project)
 {
     parent::__construct(TextModelMongoMapper::connect($project->databaseName()), array('title' => array('$regex' => '')), array('title'));
 }
 public static function remove($databaseName, $id)
 {
     TextModelMongoMapper::connect($databaseName)->remove($id);
 }