This may be a stupid question, but I need to know how to cast a variable in zf2.
$var = (string) $id ;
How ca I do it with this kind of type :
\MediaLayer\Argument\SelectMediaArguments
This doesn't work:
$arg = (\MediaLayer\Argument\SelectMediaArguments) $var