Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
ScopeInterface Interface Reference
Inheritance diagram for ScopeInterface:
ScopeInterface Store

Public Member Functions

 getBaseUrl ($type='', $secure=null)
 
 isUrlSecure ()
 
- Public Member Functions inherited from ScopeInterface
 getCode ()
 
 getId ()
 
 getScopeType ()
 
 getScopeTypeName ()
 
 getName ()
 

Additional Inherited Members

- Data Fields inherited from ScopeInterface
const SCOPE_DEFAULT = 'default'
 

Detailed Description

This ScopeInterface adds URL methods to the scope interface to help determine scope based on URLs.

@api

Since
100.0.2

Definition at line 15 of file ScopeInterface.php.

Member Function Documentation

◆ getBaseUrl()

getBaseUrl (   $type = '',
  $secure = null 
)

Retrieve base URL

Parameters
string$type
boolean | null$secure
Returns
string

Implemented in Store.

◆ isUrlSecure()

isUrlSecure ( )

Check is URL should be secure

Returns
boolean

Implemented in Store.


The documentation for this interface was generated from the following file: