public static function get(RoutingTable $annotations, $entityAlias, $method) {
        if (!self::exists($annotations, $entityAlias, $method)) return null;

        return $annotations->get($entityAlias)->$method();
    }
public static function get(RoutingTable $annotations, $entityAlias, $method) {
        if (!self::exists($annotations, $entityAlias, $method)) return null;

        return $annotations->get($entityAlias)->$method();
    }
public static function get ( RoutingTable $ annotations , $ entityAlias , $ method ) { if ( ! self :: exists ( $ annotations , $ entityAlias , $ method ) ) return null ; return $ annotations -> get ( $ entityAlias ) -> $ method ( ) ; }
returns the corresponding data source annotation if exists

@param  RoutingTable $annotations
@param  string       $entityAlias
@param  string       $method
@return DataSource|null
returns the corresponding data source annotation if exists