original_string: public static function resolve( $key )
  	{
  		if ( strpos( $key, '\\' ) !== false )
  			return static::resolveClass( $key );
  
  		$key = explode( '.', $key );
  
  		if ( $resolver = static::getResolver( $key[0] ) )
  			return $resolver->resolve( $key[0], implode( '.', array_slice( $key, 1 ) ) );
  
  		return null;
  	}
code: public static function resolve( $key )
  	{
  		if ( strpos( $key, '\\' ) !== false )
  			return static::resolveClass( $key );
  
  		$key = explode( '.', $key );
  
  		if ( $resolver = static::getResolver( $key[0] ) )
  			return $resolver->resolve( $key[0], implode( '.', array_slice( $key, 1 ) ) );
  
  		return null;
  	}
code_tokens: public static function resolve ( $ key ) { if ( strpos ( $ key , '\\' ) !== false ) return static :: resolveClass ( $ key ) ; $ key = explode ( '.' , $ key ) ; if ( $ resolver = static :: getResolver ( $ key [ 0 ] ) ) return $ resolver -> resolve ( $ key [ 0 ] , implode ( '.' , array_slice ( $ key , 1 ) ) ) ; return null ; }
docstring: Attempts to locate a instance or value from the registered resolvers.
  
  @param $key
  @return mixed|null|object
docstring_tokens: Attempts to locate a instance or value from the registered resolvers .