You are here

LogFileManagerInterface.php in File Log 8

Same filename and directory in other branches
  1. 2.0.x src/LogFileManagerInterface.php

Namespace

Drupal\filelog

File

src/LogFileManagerInterface.php
View source
<?php

namespace Drupal\filelog;


/**
 * Interface for the LogFileManager service.
 */
interface LogFileManagerInterface {

  /**
   * Ensure that the log directory exists.
   *
   * @return bool
   *   TRUE if the path of the logfile exists and is writeable.
   */
  public function ensurePath() : bool;

  /**
   * Get the complete filename of the log.
   *
   * @return string
   *   The full path (relative or absolute) of the logfile.
   */
  public function getFileName() : string;

}

Interfaces

Namesort descending Description
LogFileManagerInterface Interface for the LogFileManager service.