Inpsyde\MultilingualPress\Asset\AssetFactory::__construct PHP Method

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Common\Locations $internal_locations )
$internal_locations Inpsyde\MultilingualPress\Common\Locations MultilingualPress-specific locations object.
    public function __construct(Locations $internal_locations)
    {
        $this->internal_script_path = $internal_locations->get('js', Locations::TYPE_PATH);
        $this->internal_script_url = $internal_locations->get('js', Locations::TYPE_URL);
        $this->internal_style_path = $internal_locations->get('css', Locations::TYPE_PATH);
        $this->internal_style_url = $internal_locations->get('css', Locations::TYPE_URL);
    }