<?php
namespace App;

use Slim\Container;

abstract class Actions
{
    use Utils\ContainerAware;
    /**
     * @var \Slim\Container
     */
    private $container = null;

    /**
     * @param \Slim\Container
     */
    public function __construct(Container $container)
    {
        $this->container = $container;

        $settings = $this->container->get('settings');

        $this->view->addData([
            '_title_' => $settings['title'],
            '_desc_'  => $settings['description'],
        ]);
    }
}

<?php
namespace App;

use Slim\Container;

abstract class Actions
{
    use Utils\ContainerAware;

    /**
     * @param \Slim\Container
     */
    public function __construct(Container $container)
    {
        $this->container = $container;

        $settings = $this->container->get('settings');

        $this->view->addData([
            '_title_' => $settings['title'],
            '_desc_'  => $settings['description'],
        ]);
    }
}

Remove 'container' property in 'App\Action' class due to error test on PHP 5.x
Remove 'container' property in 'App\Action' class due to error test on PHP 5.x

Signed-off-by: Fery Wardiyanto <bd7846e81d12676baffd10ffe6daf3939680ab52@gmail.com>
