Skip to content

Commit

Permalink
Copying a simple parent class to the package
Browse files Browse the repository at this point in the history
  • Loading branch information
Grigori Kochanov committed Dec 6, 2020
1 parent de797ef commit b7a3de1
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions packages/acme-image/src/lib/BaseModel.php
@@ -0,0 +1,22 @@
<?php

namespace Acme\Image\lib;

/**
* A copy of a simple base class to show inheritance decomposition
* @internal
* @package Acme/Image
*/
class BaseModel
{
/**
*
*/
protected function foo()
{
}

static function bar()
{
}
}
2 changes: 1 addition & 1 deletion packages/acme-image/src/lib/Image.php
Expand Up @@ -9,7 +9,7 @@
* @internal * @internal
* @package Acme\Image * @package Acme\Image
*/ */
class Image extends \BaseModel class Image extends BaseModel
{ {
public function load($tmp_name) public function load($tmp_name)
{ {
Expand Down

0 comments on commit b7a3de1

Please sign in to comment.