====== tests/service/ScheduledPostServiceTest.php ====== **Source:** ''tests/service/ScheduledPostServiceTest.php'' · 288 lines, ~1082 statements · namespace: ''Scriptlog\Service'' · `declare(strict_types=1)`: no ---- Stub for the DB-backed global date_for_database(). The service resolves the unqualified call to this namespaced function first (PHP namespace function fallback), so unit tests never touch the database through app_info()/timezone_identifier(). ======= Imports ======= ^ Alias ^ Fully-qualified name ^ | ''TestCase'' | ''PHPUnit\Framework\TestCase'' | | ''Sanitize'' | ''Scriptlog\Core\Sanitize'' | | ''ConfigurationDao'' | ''Scriptlog\Dao\ConfigurationDao'' | | ''PostDao'' | ''Scriptlog\Dao\PostDao'' | | ''ScheduledPostService'' | ''Scriptlog\Service\ScheduledPostService'' | ======= Functions (1) ======= ^ Function ^ Line ^ Params ^ Returns ^ Summary ^ | ''date_for_database'' | 15 | 1 | | Stub for the DB-backed global date_for_database(). | ======== date_for_database() ======== public function date_for_database($date = null) Stub for the DB-backed global date_for_database(). ^ Parameter ^ Type ^ Default ^ Description ^ | ''$date'' | ''(untyped)'' | ''null'' | | ======= Types declared here ======= * [[scriptlog:tests:scheduledpostservicetest|ScheduledPostServiceTest]] ---- //Generated by 'tools/gendoc'.//