Page MenuHomeDevCentral

WithData.php
No OneTemporary

WithData.php

<?php
declare(strict_types=1);
namespace Keruald\OmniTools\Tests;
trait WithData {
protected function getDataPath (string $file) : string {
return $this->getDataDirectory() . "/" . $file;
}
protected function getDataDirectory () : string {
return __DIR__ . "/data";
}
}

File Metadata

Mime Type
text/x-php
Expires
Sun, Nov 16, 13:13 (1 d, 20 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3097094
Default Alt Text
WithData.php (307 B)

Event Timeline