Component entity

Phproberto\Joomla\Entity\ComponentEntity

This base class represents an entity that is linked to a component. This is usually the case of entities that have permissions, or need access to models or tables form a component.

Index

Usage

<?php
namespace My\Namespace;

use Phproberto\Joomla\Entity\ComponentEntity;

/**
 * Sample entity declaration.
 *
 * @since   __DEPLOY_VERSION__
 */
class Sample extends ComponentEntity
{
}

Methods

This class is mainly a bridge between Entity and HasComponent trait:

Entity

This class extends the base entity class so you can use methods defined there:

Traits

This class allows you to use methods defined in these traits: