Squirrels Hate Robots

Rage Driven Development

Squirrels Hate Robots - Pegasus Gate

Latest Posts

RSS

The main point of attributes is to add metadata to code that is easily parseable and can think for itself when you ask for it. Up to now most devs were probably doing this using the PHP docblock thing - those double star multi-line comments. We'd fill them with @tags and then parse that data with Reflection and probably some regular expressions to make any sense of the blob of text.
Continue Reading...
1 Image | 9 Code Blocks | 8 Min Read


Fatal error: Uncaught TypeError: Unsupported operand types: string + string in /opt/pegasusgate/core/Atlantis/Prototype/BlogPost.php:307 Stack trace: #0 /opt/pegasusgate/www/themes/default/area/element/post-listing.phtml(147): Atlantis\Prototype\BlogPost->GetShortDesc() #1 /opt/pegasusgate/vendor/netherphp/surface/src/Nether/Surface.php(617): require('...') #2 [internal function]: Nether\Surface->Nether\{closure}() #3 /opt/pegasusgate/vendor/netherphp/surface/src/Nether/Surface.php(621): call_user_func() #4 /opt/pegasusgate/core/Atlantis/Element.php(65): Nether\Surface->GetArea() #5 /opt/pegasusgate/core/Atlantis/Element.php(39): Atlantis\Element->Render() #6 /opt/pegasusgate/www/themes/default/area/blog/index.phtml(63): Atlantis\Element->__ToString() #7 /opt/pegasusgate/vendor/netherphp/surface/src/Nether/Surface.php(617): require('...') #8 [internal function]: Nether\Surface->Nether\{closure}() #9 /opt/pegasusgate/vendor/netherphp/surface/src/Nether/Surface.php(621): call_user_func() #10 /opt/pegasusgate/vendor/netherphp/surface/src/Nether/Surface.php(633): Nether\Surface->GetArea() #11 /opt/pegasusgate/vendor/netherphp/surface/src/Nether/Surface.php(981): Nether\Surface->ShowArea() #12 /opt/pegasusgate/core/Atlantis/Site/PublicWeb.php(291): Nether\Surface->Area() #13 /opt/pegasusgate/routes/Blog/Index.php(124): Atlantis\Site\PublicWeb->Area() #14 [internal function]: Routes\Blog\Index->Index() #15 /opt/pegasusgate/vendor/netherphp/avenue/src/Nether/Avenue/RouteHandler.php(41): call_user_func_array() #16 /opt/pegasusgate/vendor/netherphp/avenue/src/Nether/Avenue/Router.php(111): Nether\Avenue\RouteHandler->Run() #17 /opt/pegasusgate/www/index.php(12): Nether\Avenue\Router->Run() #18 {main} thrown in /opt/pegasusgate/core/Atlantis/Prototype/BlogPost.php on line 307