for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace luya\web;
use yii\base\BaseObject;
use yii\base\Arrayable;
use yii\base\ArrayableTrait;
/**
* The basic class for LinkInterface object.
*
* It ensures the Arrayable and Linkinterface for a given Link implementation.
* @author Basil Suter <[email protected]>
* @since 1.0.10
*/
abstract class BaseLink extends BaseObject implements LinkInterface, Arrayable
{
use LinkTrait, ArrayableTrait;
* @inheritdoc
public function fields()
return ['href', 'target'];
}