Container Trait for fetching services from the system container Table of Contents Methods getFromContainer() Fetch an item from the container Methods getFromContainer() Fetch an item from the container protected getFromContainer(string $service) : mixed Parameters $service : string The name of the service from the container to fetch Return values mixed — The service if found, otherwise null Tags subpackage core.Util.Common.Traits copyright Copyright (c) 2019, Phillips Data, Inc. license http://www.blesta.com/license/ The Blesta License Agreement link Blesta ×
getFromContainer() Fetch an item from the container protected getFromContainer(string $service) : mixed Parameters $service : string The name of the service from the container to fetch Return values mixed — The service if found, otherwise null