for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Containers\Documentation\Objects;
use App\Containers\Documentation\Contracts\ApiTypeInterface;
/**
* Class PrivateApi.
*
* @author Mahmoud Zalt <[email protected]>
*/
class PrivateApi implements ApiTypeInterface
{
CONST TYPE = 'private';
* @var string
protected $url = 'api/private/documentation';
* Where to generate the new documentation.
* @return string
public function getDocumentationPath()
return 'public/' . $this->url;
}
public function getJsonFilePath()
return "app/Containers/Documentation/ApiDocJs/{$this->getType()}";
public function getType()
return self::TYPE;
public function getUrl()
return $this->url;