Source of file HasStateServiceTrait.php
Size: 0,626 Bytes - Last Modified: 2021-12-24T06:51:36+00:00
/var/www/docs.ssmods.com/process/src/src/Traits/HasStateServiceTrait.php
1234567891011121314151617181920212223242526272829303132333435 | <?php namespace Heystack\Core\Traits; use Heystack\Core\State\State; /** * Allows a using class to set a state service * @package Heystack\Core\Traits */ trait HasStateServiceTrait { /** * @var \Heystack\Core\State\State */ protected $stateService; /** * @param \Heystack\Core\State\State $stateService * @return void */ public function setStateService(State $stateService) { $this->stateService = $stateService; } /** * @return \Heystack\Core\State\State */ public function getStateService() { return $this->stateService; } } |