Phalcon\Db\Adapter\MongoDB\Database::__get PHP Method

__get() public method

Note: collections whose names contain special characters (e.g. ".") may be selected with complex syntax (e.g. $database->{"system.profile"}) or {@link selectCollection()}.
See also: http://php.net/oop5.overloading#object.get
See also: http://php.net/types.string#language.types.string.parsing.complex
public __get ( string $collectionName ) : Collection
$collectionName string Name of the collection to select
return Collection
    public function __get($collectionName)
    {
        return $this->selectCollection($collectionName);
    }