Overview

Packages

  • blesta
    • app
      • controllers
      • models
    • components
      • auth
        • ldap
        • motp
        • oath
      • delivery
        • interfax
        • postal
          • methods
      • download
      • email
      • events
      • exchange
        • rates
          • currency
            • layer
          • fixer
          • open
            • exchange
              • rates
          • x
            • rates
      • gateway
        • payments
      • gateways
      • invoice
        • delivery
        • templates
          • perforated
            • invoice
          • quickbooks
            • invoice
          • templates
            • default
      • modules
      • net
        • amazon
          • s3
        • http
        • net
          • geo
            • ip
      • plugins
      • reports
        • aging
          • invoices
        • client
          • data
            • portability
        • custom
          • report
        • invoice
          • creation
        • package
          • revenue
        • tax
          • liability
        • transactions
          • applied
          • received
      • security
      • session
        • cart
      • settingscollection
      • upgrades
        • tasks
      • upload
      • vcard
    • core
      • Automation
        • Tasks
          • Common
          • Task
        • Type
          • Common
          • Cron
      • Pricing
        • ItemComparator
        • MetaItem
        • Modifier
          • Type
            • Description
              • Type
                • Discount
                • Option
                • Service
                • Tax
            • Discount
            • Price
            • Proration
        • Presenter
          • Build
            • Invoice
            • InvoiceData
            • Options
            • Service
            • ServiceChange
            • ServiceData
          • Collection
          • Format
            • Fields
            • Type
              • Discount
              • Item
              • Option
              • Options
              • Package
              • Pricing
              • Service
              • Tax
          • Items
            • Invoice
            • Service
          • Type
      • ServiceProviders
      • Util
        • Captcha
          • Captchas
          • Common
        • Common
          • Traits
        • Events
          • Common
          • Handlers
          • Observers
        • Filters
          • Common
        • GeoIp
        • Input
          • Fields
            • Common
        • Tax
        • Widgets
    • helpers
      • currency
        • format
      • data
        • structure
          • array
          • string
      • text
        • parser
      • widget
        • client
  • minPHP
    • helpers
      • color
      • data
        • structure
  • None
  • PHP

Traits

  • Container
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated

Trait Container

Trait for fetching services from the system container

Direct Known Users

AppModel, Blesta\Core\Util\Events\Handlers\AccountsAch, Blesta\Core\Util\Events\Handlers\Invoices, Blesta\Core\Util\Events\Handlers\InvoicesRecur, Blesta\Core\Util\Events\Handlers\LogClientSettings, Blesta\Core\Util\Events\Handlers\LogContacts, Blesta\Core\Util\Events\Handlers\LogEmails, Blesta\Core\Util\Events\Handlers\LogUsers, Blesta\Core\Util\Events\Handlers\Services, Blesta\Core\Util\Events\Handlers\Transactions, ClientDataPortability, Gateway, Blesta\Core\Util\Events\Handlers\AccountsCc, MessengerManager, Module, ModuleManager, NetGeoIp, SessionCart, Blesta\Core\Util\Events\Handlers\ClientAccount, Blesta\Core\Util\Events\Handlers\ClientNotes, Blesta\Core\Util\Events\Handlers\ClientPackages, Blesta\Core\Util\Events\Handlers\Clients, Blesta\Core\Util\Events\Handlers\ClientSettings, Blesta\Core\Util\Events\Handlers\ClientValues, Blesta\Core\Util\Events\Handlers\Contacts

Indirect Known Users

Accounts, Actions, Coupons, CouponTerms, CronTasks, Currencies, EmailGroups, Emails, EmailVerifications, Encryption, GatewayManager, Invoices, ApiKeys, InvoiceTemplateManager, Languages, Logs, Marketplace, MerchantGateway, MessageGroups, Messages, ModuleClientMeta, ModuleTypes, Navigation, Backup, NonmerchantGateway, PackageGroups, PackageOptionGroups, PackageOptions, Packages, Payments, Permissions, PluginManager, Pricings, ReportManager, CalendarEvents, ServiceChanges, ServiceInvoices, Services, Settings, Staff, StaffGroups, States, SystemEvents, Taxes, Themes, ClientGroups, Transactions, Users, Clients, Companies, Contacts, Countries
Namespace: Blesta\Core\Util\Common\Traits
Package: blesta\core\Util\Common\Traits
Copyright: Copyright (c) 2019, Phillips Data, Inc.
License: The Blesta License Agreement
Link: Blesta
Located at core/Util/Common/Traits/Container.php
Methods summary
protected mixed
# getFromContainer( string $service )

Fetch an item from the container

Fetch an item from the container

Parameters

$service
The name of the service from the container to fetch

Returns

mixed
The service if found, otherwise null
Blesta API documentation generated by ApiGen