Brakets ne demek ve nereden daha fazla okumak için
return $container->{$resource};
Parantez değişken değişkenler faydalanmak için vardır. Bu daha kolay ayırt kolaylaştırır:
// gets the value of the "resource" member from the container object
$container->resource;
ve
// gets the value of the "foo" member from the container object
$resource = 'foo';
$container->$resource;
Daha fazla burada okuyabilirsiniz: http://php.net/manual/en/language.variables.variable.php