I need to access a funcion set in ControllerBase within a model :
<?php
use Phalcon\Mvc\Controller;
use Phalcon\Mvc\Dispatcher;
class ControllerBase extends Controller
{
public function getAnswer()
{
return '42';
}
...
<?php
use Phalcon\Mvc\Model;
use Phalcon\Mvc\Model\Relation;
class SomeModel extends Model
{
public function initialize()
{
// i need the answer here !!
...