for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* @author : Korotkov Danila <[email protected]>
* @license https://mit-license.org/ MIT
*/
namespace Behavioral\Interpreter;
* Class Album
* @package Behavioral\Interpreter
class Album implements ItemInterface
{
* @var string
private $name;
private $author;
* Album constructor.
* @param string $name
* @param string $author
public function __construct(string $name, string $author)
$this->name = $name;
$this->author = $author;
}
* @return string
public function getName(): string
return $this->name;
public function getAuthor(): string
return $this->author;