/** * Constructor. Sets up the properties. * * @since 3.0.0 * * @param Locations $internal_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); }