File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/modules/ipol.sdek/classes/lib/Core/Delivery/LocationLink.php
Back
<?php namespace Ipolh\SDEK\Core\Delivery; /** * Class LocationLink * @package Ipolh\SDEK\Core * @subpackage Delivery * Link for locations from CMS and API */ class LocationLink { /** * @var bool|Location */ protected $cms = false; /** * @var bool|Location */ protected $api = false; /** * @return bool */ public function ready() { return ($this->getCms() && $this->getApi()); } /** * @return false|Location */ public function getCms() { return $this->cms; } /** * @param Location $cms * @return $this */ public function setCms(Location $cms) { $this->cms = $cms; return $this; } /** * @return false|Location */ public function getApi() { return $this->api; } /** * @param Location $api * @return $this */ public function setApi(Location $api) { $this->api = $api; return $this; } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings