private function RetreiveComplex($Id, Storm $BloggingStorm, Repository $BlogRepository, Repository $TagRepository) { $Outside = new \DateTime(); $Outside->sub(new \DateInterval('P1D')); $Array = [1, 2, 3, 4, 5, 6]; $RevivedBlog = $BlogRepository->Load($BlogRepository->Request()->Where(function ($Blog) use($Id, $Outside, $Array) { $Foo = $Id; $Sandy = 40; $Sandy += $Id; $ADate = new \DateTime(); $Awaited = $ADate->add(new \DateInterval('P2Y1DT15M')) > new \DateTime() || acos(atan(tan(sin(pi())))); $True = null === null && null !== false || false !== true && in_array(1, $Array); $Possibly = $Foo . 'Hello' != ';' || $Sandy == time() && $Outside->getTimestamp() > time() - 3601; $Maybe = $Blog->Description != 45 || ~3 - 231 * 77 . $Blog->GetName() == 'Sandwich' && $True || $Awaited; return ~1 - 500 ^ 2 && $Foo === $Blog->Id && (true || mt_rand(1, 10) > 10 || $Blog->Id === $Foo || $Blog->CreatedDate < new \DateTime() && $Maybe || $Possibly); })->OrderBy(function ($Blog) { return $Blog->Id . $Blog->CreatedDate; })->OrderByDescending(function ($Blog) { return $Blog->Id; })->GroupBy(function ($Blog) { return $Blog->Id; })->First()); if ($RevivedBlog === null) { throw new \Exception("Entity with id: {$Id} does not exist"); } if (extension_loaded('xdebug')) { var_dump($RevivedBlog); } $RevivedBlog->Posts[0]->Tags->getArrayCopy(); $RevivedBlog->Posts[1]->Tags->getArrayCopy(); $BlogRepository->GetIdentityMap()->Clear(); return null; }