original_string: public function getMongoCollectionName()
      {
          // Get full namespaced class name
          $class = get_class($this);
          $split_array = explode('\\', $class);
          // Split into namespaces and get the last namespace as the class name
          $final = $split_array[count($split_array) - 1];
          // Cut the final 10 characters off of the class (Collection from UsersCollection) and return just the collection
          return Inflector::tableize(substr($final, 0, -10));
      }
code: public function getMongoCollectionName()
      {
          // Get full namespaced class name
          $class = get_class($this);
          $split_array = explode('\\', $class);
          // Split into namespaces and get the last namespace as the class name
          $final = $split_array[count($split_array) - 1];
          // Cut the final 10 characters off of the class (Collection from UsersCollection) and return just the collection
          return Inflector::tableize(substr($final, 0, -10));
      }
code_tokens: public function getMongoCollectionName ( ) { // Get full namespaced class name $ class = get_class ( $ this ) ; $ split_array = explode ( '\\' , $ class ) ; // Split into namespaces and get the last namespace as the class name $ final = $ split_array [ count ( $ split_array ) - 1 ] ; // Cut the final 10 characters off of the class (Collection from UsersCollection) and return just the collection return Inflector :: tableize ( substr ( $ final , 0 , - 10 ) ) ; }
docstring: Infers the name of the Mongo collection inside of the database based on the namespace of the current class.
  
  @return string
docstring_tokens: Infers the name of the Mongo collection inside of the database based on the namespace of the current class .