original_string: public function url( $file = '', $version = '' ) {
  
  		if ( empty( $version ) ) {
  			$version = '?ver=' . Kecik::$version;
  		}
  
  		if ( ! empty( $file ) ) {
  			return $this->BaseUrl . Config::get( 'path.assets' ) . '/' . $file . $version;
  		} else {
  			return $this->BaseUrl . Config::get( 'path.assets' ) . '/';
  		}
  
  	}
code: public function url( $file = '', $version = '' ) {
  
  		if ( empty( $version ) ) {
  			$version = '?ver=' . Kecik::$version;
  		}
  
  		if ( ! empty( $file ) ) {
  			return $this->BaseUrl . Config::get( 'path.assets' ) . '/' . $file . $version;
  		} else {
  			return $this->BaseUrl . Config::get( 'path.assets' ) . '/';
  		}
  
  	}
code_tokens: public function url ( $ file = '' , $ version = '' ) { if ( empty ( $ version ) ) { $ version = '?ver=' . Kecik :: $ version ; } if ( ! empty ( $ file ) ) { return $ this -> BaseUrl . Config :: get ( 'path.assets' ) . '/' . $ file . $ version ; } else { return $ this -> BaseUrl . Config :: get ( 'path.assets' ) . '/' ; } }
docstring: Create url from assets
  
  @param string $file
  @param string $version
  
  @return string
docstring_tokens: Create url from assets