<?php interface ICommand { public function execute(); } class Test { public function execute(string $val) : string { return 'asd ' . $val; } } $t = new Test(); echo $t->execute('sample val');
You have javascript disabled. You will not be able to edit any code.