src/ActiveDoctrine/Entity/Entity.php
public static function select(Connection $connection)
    {
        return new EntitySelector(AbstractSelector::fromConnection($connection, static::$table, static::$types), get_called_class());
    }
public static function select(Connection $connection)
    {
        return new EntitySelector(AbstractSelector::fromConnection($connection, static::$table, static::$types), get_called_class());
    }
public static function select ( Connection $ connection ) { return new EntitySelector ( AbstractSelector :: fromConnection ( $ connection , static :: $ table , static :: $ types ) , get_called_class ( ) ) ; }
Select entities using an EntitySelector instance.

@param  Connection     $connection A connection instance
@return EntitySelector A selector instance
Select entities using an EntitySelector instance .