DerDu/SPHERE-Framework

View on GitHub
Common/Frontend/Link/Repository/Standard.php

Summary

Maintainability
A
1 hr
Test Coverage
<?php
namespace SPHERE\Common\Frontend\Link\Repository;

use SPHERE\Common\Frontend\Icon\IIconInterface;
use SPHERE\Common\Frontend\Link\ILinkInterface;

/**
 * Class Standard
 *
 * @package SPHERE\Common\Frontend\Link\Repository
 */
class Standard extends AbstractLink implements ILinkInterface
{

    /**
     * AbstractLink constructor.
     *
     * @param string              $Name
     * @param string              $Path
     * @param IIconInterface|null $Icon
     * @param array               $Data
     * @param bool|string         $ToolTip
     * @param null|string         $Anchor
     */
    public function __construct($Name, $Path, IIconInterface $Icon = null, $Data = array(), $ToolTip = false, $Anchor = null)
    {

        $this->setType(self::TYPE_DEFAULT);
        parent::__construct($Name, $Path, $Icon, $Data, $ToolTip, $Anchor);
    }
}