Skip to content

Commit

Permalink
Added abstract DataFile class
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxwilko committed Mar 1, 2023
1 parent f1a5971 commit 1e6b3b6
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/DataFile.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Winter\LaravelConfigWriter;

use Winter\LaravelConfigWriter\Contracts\DataFileInterface;

abstract class DataFile implements DataFileInterface
{
/**
* Get currently loaded AST
*
* @return \PhpParser\Node\Stmt[]|array|null
*/
public function getAst()
{
return $this->ast;
}
}

0 comments on commit 1e6b3b6

Please sign in to comment.