for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace FilmTools\Commons;
class FStops extends MinMaxArrayIterator implements FStopsInterface, FStopsProviderInterface
{
use SearchableTrait;
/**
* @inheritDoc
* @return $this
*/
public function getFStops() : FStopsInterface
return $this;
}
public function getZones() : ZonesInterface
$min = $this->min();
return new Zones( array_map( function( $fstop ) use ($min) {
return $fstop + ($min * -1);
}, $this->getArrayCopy()));
* @return ExposuresInterface
public function getExposures() : ExposuresInterface
return $this->getZones()->getExposures();